package com.imstlife.vending.activity;

import android.app.Activity;
import android.os.Bundle;

import com.imstlife.vending.R;
import com.imstlife.vending.utils.Cof;
import com.imstlife.vending.utils.SharePersistentUtil;
import com.imstlife.vending.view.MyDrinkListView;
import com.imstlife.vending.vo.DrinkInfo;
import com.imstlife.vending.vo.DrinkListVo;

import java.util.List;

/**
 * Created by lihaifeng on 17/2/23.
 */

public class TestActivity extends Activity{
    private List<DrinkInfo>  drinkList;

    MyDrinkListView dinksView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_test);
        initView();

    }
    private void initView(){
        dinksView = (MyDrinkListView) findViewById(R.id.drinklist);
        drinkList = ((DrinkListVo) getIntent().getSerializableExtra("drinks")).getDrinkList();
//        dinksView.configView(drinkList,SharePersistentUtil.getSharePersistentString(this,Cof.APP_IMAGE_CACHE,Cof.SUPPLIER,Cof.SUPPLIER_YILE),0);

    }
}
